gtk4.git
7 years agopopover menu: Fix a parameter name mismatch
Matthias Clasen [Thu, 28 Mar 2019 22:27:42 +0000 (18:27 -0400)]
popover menu: Fix a parameter name mismatch

7 years agooverlay: Remove no-longer-existing api from header
Matthias Clasen [Thu, 28 Mar 2019 22:27:25 +0000 (18:27 -0400)]
overlay: Remove no-longer-existing api from header

7 years agogtk: Some documentation cleanups
Matthias Clasen [Thu, 28 Mar 2019 22:27:08 +0000 (18:27 -0400)]
gtk: Some documentation cleanups

7 years agogsk: Fix up docs a bit
Matthias Clasen [Thu, 28 Mar 2019 22:08:15 +0000 (18:08 -0400)]
gsk: Fix up docs a bit

Some apis that were either removed or have never
existed were listed for the docs.

7 years agogsk: Add GskRoundedRect to the docs
Matthias Clasen [Thu, 28 Mar 2019 22:06:00 +0000 (18:06 -0400)]
gsk: Add GskRoundedRect to the docs

7 years agoCI: install meson 0.50
Christoph Reiter [Thu, 28 Mar 2019 21:47:18 +0000 (22:47 +0100)]
CI: install meson 0.50

7 years agoBump meson req to 0.50
Matthias Clasen [Thu, 28 Mar 2019 21:35:50 +0000 (17:35 -0400)]
Bump meson req to 0.50

meson told me to.

7 years agoMerge branch 'overlay-layout' into 'master'
Matthias Clasen [Thu, 28 Mar 2019 21:07:38 +0000 (21:07 +0000)]
Merge branch 'overlay-layout' into 'master'

overlay: Use a layout manager

See merge request GNOME/gtk!677

7 years agoConvert ui files
Matthias Clasen [Thu, 28 Mar 2019 20:35:55 +0000 (16:35 -0400)]
Convert ui files

Run gtk4-builder-tool simplify --3to4 over all ui files.

7 years agobuilder-tool: Small refactoring
Matthias Clasen [Thu, 28 Mar 2019 16:37:45 +0000 (12:37 -0400)]
builder-tool: Small refactoring

Introduce a PropKind enum, since the collection of
booleans is getting out of hands.

7 years agobuilder-tool: Convert overlay child properties
Matthias Clasen [Thu, 28 Mar 2019 16:21:52 +0000 (12:21 -0400)]
builder-tool: Convert overlay child properties

7 years agooverlay: Use a layout manager
Matthias Clasen [Thu, 28 Mar 2019 03:47:32 +0000 (23:47 -0400)]
overlay: Use a layout manager

This lets us get rid of the child properties,
by converting them to layout properties.

7 years agoUpdate POTFILES.in
Piotr Drąg [Thu, 28 Mar 2019 17:58:56 +0000 (18:58 +0100)]
Update POTFILES.in

7 years agoMerge branch 'layout-child-type' into 'master'
Matthias Clasen [Thu, 28 Mar 2019 17:41:33 +0000 (17:41 +0000)]
Merge branch 'layout-child-type' into 'master'

Connect LayoutManager to LayoutChild

See merge request GNOME/gtk!678

7 years agoDo not leak unapplied layout properties
Emmanuele Bassi [Thu, 28 Mar 2019 17:22:02 +0000 (17:22 +0000)]
Do not leak unapplied layout properties

If the layout manager does not have a GtkLayoutChild, or if we cannot
apply layout properties, we should free them instead of leaking them.

7 years agoAdd missing handler for <layout> elements in UI files
Emmanuele Bassi [Thu, 28 Mar 2019 17:16:57 +0000 (17:16 +0000)]
Add missing handler for <layout> elements in UI files

The layout properties sub-parser needs to handle the parent tag.

7 years agoConnect LayoutManager to LayoutChild
Emmanuele Bassi [Thu, 28 Mar 2019 16:58:00 +0000 (16:58 +0000)]
Connect LayoutManager to LayoutChild

If we want to inspect the type of layout properties exposed by a
GtkLayoutManager, we need a way to connect the layout manager type to
the GtkLayoutChild type it creates. In order to do so, we can set the
GtkLayoutChild type on a field of the GtkLayoutManagerClass structure.

Storing the GtkLayoutChild type on the class structure of the layout
manager also allows us to implement a default create_layout_child()
virtual function.

7 years agoAdd release info to our demo apps
Emmanuele Bassi [Thu, 28 Mar 2019 12:16:53 +0000 (12:16 +0000)]
Add release info to our demo apps

The appstream-util check performed by Flatpak on recent GNOME SDKs has
become more stringent, and now it requires a <release> tag in the
AppData XML file. If we don't have it, the Flatpak bundles of gtk-demo
and gtk-widget-factory will fail on our CI infrastructure.

7 years agoDocument how to define layout manager properties
Emmanuele Bassi [Thu, 28 Mar 2019 11:47:46 +0000 (11:47 +0000)]
Document how to define layout manager properties

7 years agoMerge branch 'gbsneto/install-header' into 'master'
Matthias Clasen [Thu, 28 Mar 2019 02:48:03 +0000 (02:48 +0000)]
Merge branch 'gbsneto/install-header' into 'master'

build: Install gtkboxlayout.h

See merge request GNOME/gtk!676

7 years agoboxlayout: Notify orientation changes
Georges Basile Stavracas Neto [Thu, 28 Mar 2019 02:25:22 +0000 (23:25 -0300)]
boxlayout: Notify orientation changes

This was missing from the initial implementation, and
breaks the tests.

7 years agoMerge branch 'child-properties' into 'master'
Matthias Clasen [Thu, 28 Mar 2019 02:04:42 +0000 (02:04 +0000)]
Merge branch 'child-properties' into 'master'

Remove some more child properties

See merge request GNOME/gtk!675

7 years agobuild: Install gtkboxlayout.h
Georges Basile Stavracas Neto [Thu, 28 Mar 2019 01:55:07 +0000 (22:55 -0300)]
build: Install gtkboxlayout.h

This is included by gtk.h, and thus required to build.

7 years agoConvert ui files
Matthias Clasen [Thu, 28 Mar 2019 01:28:16 +0000 (21:28 -0400)]
Convert ui files

Run gtk4-builder-tool simplify --3to4 over all ui files.

7 years agobuilder-tool: Rewrite paned child properties
Matthias Clasen [Thu, 28 Mar 2019 01:23:56 +0000 (21:23 -0400)]
builder-tool: Rewrite paned child properties

7 years agopaned: Replace the child properties
Matthias Clasen [Thu, 28 Mar 2019 01:21:48 +0000 (21:21 -0400)]
paned: Replace the child properties

Replace the resize and shrink child properties
by resize-child1/2 and shrink-child1/2 properties.

7 years agoMerge branch 'window-api-cleanup' into 'master'
Matthias Clasen [Thu, 28 Mar 2019 00:14:51 +0000 (00:14 +0000)]
Merge branch 'window-api-cleanup' into 'master'

GtkWindow api cleanup

See merge request GNOME/gtk!674

7 years agoConvert ui files
Matthias Clasen [Thu, 28 Mar 2019 00:03:59 +0000 (20:03 -0400)]
Convert ui files

Run gtk4-builder-tool simplify --3to4 over all ui files.

7 years agobuilder-tool: Rewrite toolbar child properties
Matthias Clasen [Thu, 28 Mar 2019 00:03:34 +0000 (20:03 -0400)]
builder-tool: Rewrite toolbar child properties

7 years agotoolbar: Remove the homogeneous and expand child properties
Matthias Clasen [Thu, 28 Mar 2019 00:02:48 +0000 (20:02 -0400)]
toolbar: Remove the homogeneous and expand child properties

Replace these with GtkToolItem properties homogeneous
and expand-item.

7 years agowin32: Drop set_role
Matthias Clasen [Wed, 27 Mar 2019 22:48:59 +0000 (18:48 -0400)]
win32: Drop set_role

One overlooked (non-)implementation of set_role.

7 years agowin32: Add a missing include
Matthias Clasen [Wed, 27 Mar 2019 22:47:56 +0000 (18:47 -0400)]
win32: Add a missing include

We are using round() now, so include math.h.

7 years agoConvert ui files
Matthias Clasen [Wed, 27 Mar 2019 22:40:40 +0000 (18:40 -0400)]
Convert ui files

Run gtk4-builder-tool simplify --3to4 over all ui files.

7 years agobuilder-tool: Rewrite GtkPopoverMenu::submenu
Matthias Clasen [Wed, 27 Mar 2019 22:38:29 +0000 (18:38 -0400)]
builder-tool: Rewrite GtkPopoverMenu::submenu

7 years agopopover menu: Drop the submenu child property
Matthias Clasen [Wed, 27 Mar 2019 22:37:57 +0000 (18:37 -0400)]
popover menu: Drop the submenu child property

We are using the GtkWidget::name property instead.

7 years agopopover menu: Add an api for adding submenus
Matthias Clasen [Wed, 27 Mar 2019 21:52:51 +0000 (17:52 -0400)]
popover menu: Add an api for adding submenus

This is a step towards removing the submenu
child property.

7 years agogdk: Drop gdk_surface_set_role
Matthias Clasen [Wed, 27 Mar 2019 21:15:26 +0000 (17:15 -0400)]
gdk: Drop gdk_surface_set_role

This is a very old X session management thing, and you
will be hard-pressed to find a session manager that can
make use of it, and even harder-pressed to find apps
using it to their advantage.

7 years agogdk: Stop implementing set_role
Matthias Clasen [Wed, 27 Mar 2019 21:14:33 +0000 (17:14 -0400)]
gdk: Stop implementing set_role

All but the X implementation of these were
empty anyway. And the X one is just setting
a property.

7 years agoRemove GtkWindow::role
Matthias Clasen [Wed, 27 Mar 2019 21:03:45 +0000 (17:03 -0400)]
Remove GtkWindow::role

...and the setter/getter for it.

This is a very old X session management thing, and you
will be hard-pressed to find a session manager that can
make use of it, and even harder-pressed to find apps
using it to their advantage.

7 years agofile chooser: Stop setting a role
Matthias Clasen [Wed, 27 Mar 2019 21:28:53 +0000 (17:28 -0400)]
file chooser: Stop setting a role

It does nothing.

7 years agoMerge branch 'fixed-layout' into 'master'
Matthias Clasen [Wed, 27 Mar 2019 18:51:04 +0000 (18:51 +0000)]
Merge branch 'fixed-layout' into 'master'

Add GtkFixedLayout

See merge request GNOME/gtk!668

7 years agoMerge branch 'wip/alexl/broadway6' into 'master'
Alexander Larsson [Wed, 27 Mar 2019 18:45:17 +0000 (18:45 +0000)]
Merge branch 'wip/alexl/broadway6' into 'master'

broadway: Use css transforms

See merge request GNOME/gtk!673

7 years agobroadway: Use css transforms
Alexander Larsson [Wed, 27 Mar 2019 18:27:16 +0000 (19:27 +0100)]
broadway: Use css transforms

This allows generic transforms nodes to work.

7 years agomigration guide: Improve warp-pointer entry
Matthias Clasen [Wed, 27 Mar 2019 18:21:26 +0000 (14:21 -0400)]
migration guide: Improve warp-pointer entry

Mention platform APIs.

7 years agoMerge branch 'pack-type' into 'master'
Matthias Clasen [Wed, 27 Mar 2019 18:12:01 +0000 (18:12 +0000)]
Merge branch 'pack-type' into 'master'

Drop some more child properties

See merge request GNOME/gtk!672

7 years agoMention pack-type in the migration guide
Matthias Clasen [Wed, 27 Mar 2019 17:52:47 +0000 (13:52 -0400)]
Mention pack-type in the migration guide

7 years agoConvert all ui files
Matthias Clasen [Wed, 27 Mar 2019 17:20:18 +0000 (13:20 -0400)]
Convert all ui files

Run gtk4-builder-tool simplify --3to4 over all ui files.

7 years agobuilder-tool: Rewrite pack-type
Matthias Clasen [Wed, 27 Mar 2019 17:14:39 +0000 (13:14 -0400)]
builder-tool: Rewrite pack-type

Replace GtkActionBar::pack-type and GtHeaderBar::pack-type
with child types when going from 3 to 4.

7 years agoaction bar: Drop pack-type
Matthias Clasen [Wed, 27 Mar 2019 17:16:07 +0000 (13:16 -0400)]
action bar: Drop pack-type

Drop the pack-type child property. Allow ui
files to direct children by adding a child
type for it.

7 years agoheader bar: Drop pack-type
Matthias Clasen [Wed, 27 Mar 2019 17:16:49 +0000 (13:16 -0400)]
header bar: Drop pack-type

Drop the pack-type child property. Allow ui files
to direct children by adding a child type.

7 years agodialog: Stop using GtkHeaderBar::pack-type
Matthias Clasen [Wed, 27 Mar 2019 17:35:38 +0000 (13:35 -0400)]
dialog: Stop using GtkHeaderBar::pack-type

We want to get rid of child properties.

7 years agobroadway: Fix leftover dom modification not using display_commands
Alexander Larsson [Wed, 27 Mar 2019 13:21:28 +0000 (14:21 +0100)]
broadway: Fix leftover dom modification not using display_commands

7 years agoMigration guide: Updates
Matthias Clasen [Wed, 27 Mar 2019 06:18:36 +0000 (02:18 -0400)]
Migration guide: Updates

7 years agoMerge branch 'entry-sizing' into 'master'
Matthias Clasen [Wed, 27 Mar 2019 05:55:06 +0000 (05:55 +0000)]
Merge branch 'entry-sizing' into 'master'

Entry sizing

Closes #1721

See merge request GNOME/gtk!670

7 years agotext: Allow growing entries
Matthias Clasen [Wed, 27 Mar 2019 05:40:17 +0000 (01:40 -0400)]
text: Allow growing entries

Add a propagate-text-width property, which, when set,
makes the entry request a natural width that is just
enough to fit the content, within the limits given
by width-chars and max-width-chars.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1721
7 years agosearch entry: Fix sizing
Matthias Clasen [Wed, 27 Mar 2019 04:22:32 +0000 (00:22 -0400)]
search entry: Fix sizing

Use the same sizing approach we use for GtkEntry:
ignore icons when measuring. This ensures that
search entries don't change size as icons come
and go.

7 years agopassword entry: Fix sizing
Matthias Clasen [Wed, 27 Mar 2019 04:21:11 +0000 (00:21 -0400)]
password entry: Fix sizing

Use the same sizing approach we use for GtkEntry:
ignore icons when measuring. This ensures that
password entries don't change size as icons come
and go.

7 years agoMerge branch 'get_caret_offset_negative_one' into 'master'
Matthias Clasen [Tue, 26 Mar 2019 23:14:48 +0000 (23:14 +0000)]
Merge branch 'get_caret_offset_negative_one' into 'master'

Return -1 for AtkText::get_caret_offset on failure

See merge request GNOME/gtk!666

7 years agoMerge branch 'gdk-api-cleanups' into 'master'
Matthias Clasen [Tue, 26 Mar 2019 22:37:27 +0000 (22:37 +0000)]
Merge branch 'gdk-api-cleanups' into 'master'

Gdk api cleanups

See merge request GNOME/gtk!669

7 years agoRename gdk_device_get_surface_at_position_double
Matthias Clasen [Tue, 26 Mar 2019 00:44:37 +0000 (20:44 -0400)]
Rename gdk_device_get_surface_at_position_double

We can drop the double suffix now.

7 years agoDrop gdk_device_get_surface_at_position
Matthias Clasen [Tue, 26 Mar 2019 00:39:08 +0000 (20:39 -0400)]
Drop gdk_device_get_surface_at_position

It is no longer used.

7 years agogtk: Stop using gtk_device_get_surface_at_position
Matthias Clasen [Tue, 26 Mar 2019 00:37:13 +0000 (20:37 -0400)]
gtk: Stop using gtk_device_get_surface_at_position

We should always use the double variant of the api.

7 years agogdk: Stop using gdk_device_get_surface_at_position
Matthias Clasen [Tue, 26 Mar 2019 00:36:45 +0000 (20:36 -0400)]
gdk: Stop using gdk_device_get_surface_at_position

We should always use the double variant.

7 years agoRename gdk_device_get_position_double
Matthias Clasen [Tue, 26 Mar 2019 00:30:15 +0000 (20:30 -0400)]
Rename gdk_device_get_position_double

We can drop the double suffix now.

7 years agoDrop gdk_device_get_position
Matthias Clasen [Tue, 26 Mar 2019 00:28:08 +0000 (20:28 -0400)]
Drop gdk_device_get_position

It is no longer used.

7 years agogtk: Stop using gdk_device_get_position
Matthias Clasen [Tue, 26 Mar 2019 00:26:59 +0000 (20:26 -0400)]
gtk: Stop using gdk_device_get_position

We should always use the double variant of this api.

7 years agogdk: Stop using gdk_device_get_position
Matthias Clasen [Tue, 26 Mar 2019 00:26:34 +0000 (20:26 -0400)]
gdk: Stop using gdk_device_get_position

We should always use the double variant of this api.

7 years agoRename gdk_surface_get_device_position_double
Matthias Clasen [Mon, 25 Mar 2019 14:12:01 +0000 (10:12 -0400)]
Rename gdk_surface_get_device_position_double

Drop the _double suffix, now that the int version is gone.

7 years agoDrop gdk_surface_get_device_position
Matthias Clasen [Mon, 25 Mar 2019 12:33:56 +0000 (08:33 -0400)]
Drop gdk_surface_get_device_position

Not used anymore.

7 years agogtk: Stop using gdk_surface_get_device_position
Matthias Clasen [Mon, 25 Mar 2019 12:32:50 +0000 (08:32 -0400)]
gtk: Stop using gdk_surface_get_device_position

Use the double version directly.

7 years agogdk: Stop using gdk_surface_get_device_position
Matthias Clasen [Mon, 25 Mar 2019 12:32:10 +0000 (08:32 -0400)]
gdk: Stop using gdk_surface_get_device_position

Use the double variant instead.

7 years agoRemove GtkWindow::gravity
Matthias Clasen [Mon, 25 Mar 2019 02:09:30 +0000 (22:09 -0400)]
Remove GtkWindow::gravity

This was used to interpret the position passed
to gtk_window_move. Since that is gone, gravity
is no longer useful.

7 years agotests: Stop using gtk_window_set_gravity
Matthias Clasen [Mon, 25 Mar 2019 01:50:51 +0000 (21:50 -0400)]
tests: Stop using gtk_window_set_gravity

This api is going away.

7 years agoDrop gtk_window_move and gtk_window_get_position
Matthias Clasen [Mon, 25 Mar 2019 01:46:30 +0000 (21:46 -0400)]
Drop gtk_window_move and gtk_window_get_position

These functions operate with global coordinates,
which are not available on Wayland.

7 years agotreeview: Stop using gtk_window_move
Matthias Clasen [Mon, 25 Mar 2019 01:45:31 +0000 (21:45 -0400)]
treeview: Stop using gtk_window_move

It is going away. The search popup needs to be
redone using popovers.

7 years agofile chooser: Stop using gtk_window_get_position
Matthias Clasen [Mon, 25 Mar 2019 01:45:09 +0000 (21:45 -0400)]
file chooser: Stop using gtk_window_get_position

It is going away.

7 years agotests: Stop using gtk_window_move
Matthias Clasen [Mon, 25 Mar 2019 01:44:31 +0000 (21:44 -0400)]
tests: Stop using gtk_window_move

It is going away.

7 years agoa11y: Don't support changing widget size and position
Matthias Clasen [Tue, 26 Mar 2019 21:37:12 +0000 (17:37 -0400)]
a11y: Don't support changing widget size and position

This does not make sense.

7 years agoAvoid root coordinates in begin_drag/move apis
Matthias Clasen [Sat, 23 Mar 2019 18:56:21 +0000 (14:56 -0400)]
Avoid root coordinates in begin_drag/move apis

Change the all the begin_drag and begin_move apis in
GdkSurface and GtkWindow to expect surface coordinates.

Update the x11 implementation to translate to root
coordinates where it matters. Wayland is ignoring the
coordinates anyway.

7 years agoAdd a window move/resize test
Matthias Clasen [Sun, 24 Mar 2019 14:52:42 +0000 (10:52 -0400)]
Add a window move/resize test

7 years agoTurn GtkFixedLayoutChild:position into a transformation
Emmanuele Bassi [Tue, 26 Mar 2019 19:17:26 +0000 (19:17 +0000)]
Turn GtkFixedLayoutChild:position into a transformation

This way we can transform children instead of just allocating them at an
offset.

7 years agoSkip all LayoutChild when testing
Emmanuele Bassi [Tue, 26 Mar 2019 18:05:48 +0000 (18:05 +0000)]
Skip all LayoutChild when testing

GtkLayoutChild instances are created on demand once we have a widget, a
GtkLayoutManager, and a child widget. This makes testing their creation
fairly tricky.

Let's skip them, for the time being.

7 years agoUse GtkFixedLayout in GtkFixed
Emmanuele Bassi [Tue, 26 Mar 2019 16:50:30 +0000 (16:50 +0000)]
Use GtkFixedLayout in GtkFixed

Drop the child properties and the sizing code.

7 years agoAdd GtkFixedLayout
Emmanuele Bassi [Tue, 26 Mar 2019 16:50:13 +0000 (16:50 +0000)]
Add GtkFixedLayout

A layout manager for fixed positioning.

7 years agoDo not connect to a non-existing signal
Emmanuele Bassi [Tue, 26 Mar 2019 17:13:18 +0000 (17:13 +0000)]
Do not connect to a non-existing signal

The GtkWidget::parent-set signal was removed in ff6cd8f7.

Instead of removing GtkLayoutChild instances associated to a widget
using notifications when the widget's parent changes, we can have
gtk_widget_unparent() call a method on GtkLayoutManager to remove any
eventual GtkLayoutChild instances associated to the widget.

7 years agoDrop warning from GtkLayoutManager::get_request_mode()
Emmanuele Bassi [Tue, 26 Mar 2019 17:12:21 +0000 (17:12 +0000)]
Drop warning from GtkLayoutManager::get_request_mode()

We can return a sensible default value, so we don't really need to warn
about a missing implementation.

7 years agoUpdate POTFILES.in
Piotr Drąg [Tue, 26 Mar 2019 17:36:51 +0000 (18:36 +0100)]
Update POTFILES.in

7 years agoMerge branch 'wip/alexl/broadway5' into 'master'
Alexander Larsson [Tue, 26 Mar 2019 16:25:10 +0000 (16:25 +0000)]
Merge branch 'wip/alexl/broadway5' into 'master'

Update broadway for gtk4

See merge request GNOME/gtk!667

7 years agobroadway: Remove some spew
Alexander Larsson [Tue, 26 Mar 2019 16:09:41 +0000 (17:09 +0100)]
broadway: Remove some spew

7 years agobroadway: Load all textures before applying display ops, fixing flickers
Alexander Larsson [Tue, 26 Mar 2019 15:29:45 +0000 (16:29 +0100)]
broadway: Load all textures before applying display ops, fixing flickers

7 years agobroadway: Use const use for constants in the js code
Alexander Larsson [Tue, 26 Mar 2019 10:19:08 +0000 (11:19 +0100)]
broadway: Use const use for constants in the js code

7 years agobroadway: Clean up stuff using const defines
Alexander Larsson [Mon, 25 Mar 2019 15:21:34 +0000 (16:21 +0100)]
broadway: Clean up stuff using const defines

7 years agoBroadway: Add id for nodes and reuse old ones
Alexander Larsson [Mon, 25 Mar 2019 13:15:49 +0000 (14:15 +0100)]
Broadway: Add id for nodes and reuse old ones

When sending render nodes from the client to the daemon we add an id,
and whenever we're about to re-send the entire tree node we instead
send the old id. We track all the nodes for the previous frame
of the surface this way.

Having the id on the daemon side will allow us do to much better deltas.

7 years agoDisable accidental debug spew
Alexander Larsson [Mon, 25 Mar 2019 09:49:58 +0000 (10:49 +0100)]
Disable accidental debug spew

7 years agobroadway: Prepare for splitting display ops out of command handling
Alexander Larsson [Fri, 22 Mar 2019 18:55:22 +0000 (19:55 +0100)]
broadway: Prepare for splitting display ops out of command handling

7 years agobroadway: Refcount textures
Alexander Larsson [Fri, 22 Mar 2019 15:41:19 +0000 (16:41 +0100)]
broadway: Refcount textures

We want to delay some rendering, and to make that safe we need to correctly
refcount the use of blob uris for the textures so that we don't unref
it while something is scheduled to use it.

7 years agobroadway: Simplify fallback node cache
Alexander Larsson [Fri, 22 Mar 2019 14:29:24 +0000 (15:29 +0100)]
broadway: Simplify fallback node cache

Since nodes are now cached we just store the fallback as a
texture in a hashtable indexed by the node. If its unused for
5 frames we drop it.

7 years agobroadway: Don't crash of drag-resizing when already active
Alexander Larsson [Fri, 22 Mar 2019 12:52:08 +0000 (13:52 +0100)]
broadway: Don't crash of drag-resizing when already active

This is what the X11 code does.

7 years agobroadway: Send actual float32, not some hack
Alexander Larsson [Fri, 22 Mar 2019 12:42:26 +0000 (13:42 +0100)]
broadway: Send actual float32, not some hack

7 years agobroadway: Use DataView instead of hand-rolled int parsers
Alexander Larsson [Fri, 22 Mar 2019 12:38:19 +0000 (13:38 +0100)]
broadway: Use DataView instead of hand-rolled int parsers

This is nicer in general, but also will let us do floats more sanely.